package com.fc.test.model.auto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 服务事项 HandleCaseExample
 * @author zsw_自动生成
 * @email 1345625601@qq.com
 * @date 2020-08-28 12:34:31
 */
public class HandleCaseExample {

    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HandleCaseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }
				
        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(Integer value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(Integer value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }
        
			
        public Criteria andAuthNameIsNull() {
            addCriterion("auth_name is null");
            return (Criteria) this;
        }

        public Criteria andAuthNameIsNotNull() {
            addCriterion("auth_name is not null");
            return (Criteria) this;
        }

        public Criteria andAuthNameEqualTo(String value) {
            addCriterion("auth_name =", value, "authName");
            return (Criteria) this;
        }

        public Criteria andAuthNameNotEqualTo(String value) {
            addCriterion("auth_name <>", value, "authName");
            return (Criteria) this;
        }

        public Criteria andAuthNameGreaterThan(String value) {
            addCriterion("auth_name >", value, "authName");
            return (Criteria) this;
        }

        public Criteria andAuthNameGreaterThanOrEqualTo(String value) {
            addCriterion("auth_name >=", value, "authName");
            return (Criteria) this;
        }

        public Criteria andAuthNameLessThan(String value) {
            addCriterion("auth_name <", value, "authName");
            return (Criteria) this;
        }

        public Criteria andAuthNameLessThanOrEqualTo(String value) {
            addCriterion("auth_name <=", value, "authName");
            return (Criteria) this;
        }

        public Criteria andAuthNameLike(String value) {
            addCriterion("auth_name like", value, "authName");
            return (Criteria) this;
        }

        public Criteria andAuthNameNotLike(String value) {
            addCriterion("auth_name not like", value, "authName");
            return (Criteria) this;
        }

        public Criteria andAuthNameIn(List<String> values) {
            addCriterion("auth_name in", values, "authName");
            return (Criteria) this;
        }

        public Criteria andAuthNameNotIn(List<String> values) {
            addCriterion("auth_name not in", values, "authName");
            return (Criteria) this;
        }

        public Criteria andAuthNameBetween(String value1, String value2) {
            addCriterion("auth_name between", value1, value2, "authName");
            return (Criteria) this;
        }

        public Criteria andAuthNameNotBetween(String value1, String value2) {
            addCriterion("auth_name not between", value1, value2, "authName");
            return (Criteria) this;
        }
        
			
        public Criteria andAuthTypeIsNull() {
            addCriterion("auth_type is null");
            return (Criteria) this;
        }

        public Criteria andAuthTypeIsNotNull() {
            addCriterion("auth_type is not null");
            return (Criteria) this;
        }

        public Criteria andAuthTypeEqualTo(String value) {
            addCriterion("auth_type =", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeNotEqualTo(String value) {
            addCriterion("auth_type <>", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeGreaterThan(String value) {
            addCriterion("auth_type >", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeGreaterThanOrEqualTo(String value) {
            addCriterion("auth_type >=", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeLessThan(String value) {
            addCriterion("auth_type <", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeLessThanOrEqualTo(String value) {
            addCriterion("auth_type <=", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeLike(String value) {
            addCriterion("auth_type like", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeNotLike(String value) {
            addCriterion("auth_type not like", value, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeIn(List<String> values) {
            addCriterion("auth_type in", values, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeNotIn(List<String> values) {
            addCriterion("auth_type not in", values, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeBetween(String value1, String value2) {
            addCriterion("auth_type between", value1, value2, "authType");
            return (Criteria) this;
        }

        public Criteria andAuthTypeNotBetween(String value1, String value2) {
            addCriterion("auth_type not between", value1, value2, "authType");
            return (Criteria) this;
        }
        
			
        public Criteria andQjzdbmIsNull() {
            addCriterion("qjzdbm is null");
            return (Criteria) this;
        }

        public Criteria andQjzdbmIsNotNull() {
            addCriterion("qjzdbm is not null");
            return (Criteria) this;
        }

        public Criteria andQjzdbmEqualTo(String value) {
            addCriterion("qjzdbm =", value, "qjzdbm");
            return (Criteria) this;
        }

        public Criteria andQjzdbmNotEqualTo(String value) {
            addCriterion("qjzdbm <>", value, "qjzdbm");
            return (Criteria) this;
        }

        public Criteria andQjzdbmGreaterThan(String value) {
            addCriterion("qjzdbm >", value, "qjzdbm");
            return (Criteria) this;
        }

        public Criteria andQjzdbmGreaterThanOrEqualTo(String value) {
            addCriterion("qjzdbm >=", value, "qjzdbm");
            return (Criteria) this;
        }

        public Criteria andQjzdbmLessThan(String value) {
            addCriterion("qjzdbm <", value, "qjzdbm");
            return (Criteria) this;
        }

        public Criteria andQjzdbmLessThanOrEqualTo(String value) {
            addCriterion("qjzdbm <=", value, "qjzdbm");
            return (Criteria) this;
        }

        public Criteria andQjzdbmLike(String value) {
            addCriterion("qjzdbm like", value, "qjzdbm");
            return (Criteria) this;
        }

        public Criteria andQjzdbmNotLike(String value) {
            addCriterion("qjzdbm not like", value, "qjzdbm");
            return (Criteria) this;
        }

        public Criteria andQjzdbmIn(List<String> values) {
            addCriterion("qjzdbm in", values, "qjzdbm");
            return (Criteria) this;
        }

        public Criteria andQjzdbmNotIn(List<String> values) {
            addCriterion("qjzdbm not in", values, "qjzdbm");
            return (Criteria) this;
        }

        public Criteria andQjzdbmBetween(String value1, String value2) {
            addCriterion("qjzdbm between", value1, value2, "qjzdbm");
            return (Criteria) this;
        }

        public Criteria andQjzdbmNotBetween(String value1, String value2) {
            addCriterion("qjzdbm not between", value1, value2, "qjzdbm");
            return (Criteria) this;
        }
        
			
        public Criteria andYcbIsNull() {
            addCriterion("ycb is null");
            return (Criteria) this;
        }

        public Criteria andYcbIsNotNull() {
            addCriterion("ycb is not null");
            return (Criteria) this;
        }

        public Criteria andYcbEqualTo(String value) {
            addCriterion("ycb =", value, "ycb");
            return (Criteria) this;
        }

        public Criteria andYcbNotEqualTo(String value) {
            addCriterion("ycb <>", value, "ycb");
            return (Criteria) this;
        }

        public Criteria andYcbGreaterThan(String value) {
            addCriterion("ycb >", value, "ycb");
            return (Criteria) this;
        }

        public Criteria andYcbGreaterThanOrEqualTo(String value) {
            addCriterion("ycb >=", value, "ycb");
            return (Criteria) this;
        }

        public Criteria andYcbLessThan(String value) {
            addCriterion("ycb <", value, "ycb");
            return (Criteria) this;
        }

        public Criteria andYcbLessThanOrEqualTo(String value) {
            addCriterion("ycb <=", value, "ycb");
            return (Criteria) this;
        }

        public Criteria andYcbLike(String value) {
            addCriterion("ycb like", value, "ycb");
            return (Criteria) this;
        }

        public Criteria andYcbNotLike(String value) {
            addCriterion("ycb not like", value, "ycb");
            return (Criteria) this;
        }

        public Criteria andYcbIn(List<String> values) {
            addCriterion("ycb in", values, "ycb");
            return (Criteria) this;
        }

        public Criteria andYcbNotIn(List<String> values) {
            addCriterion("ycb not in", values, "ycb");
            return (Criteria) this;
        }

        public Criteria andYcbBetween(String value1, String value2) {
            addCriterion("ycb between", value1, value2, "ycb");
            return (Criteria) this;
        }

        public Criteria andYcbNotBetween(String value1, String value2) {
            addCriterion("ycb not between", value1, value2, "ycb");
            return (Criteria) this;
        }
        
			
        public Criteria andMsbIsNull() {
            addCriterion("msb is null");
            return (Criteria) this;
        }

        public Criteria andMsbIsNotNull() {
            addCriterion("msb is not null");
            return (Criteria) this;
        }

        public Criteria andMsbEqualTo(String value) {
            addCriterion("msb =", value, "msb");
            return (Criteria) this;
        }

        public Criteria andMsbNotEqualTo(String value) {
            addCriterion("msb <>", value, "msb");
            return (Criteria) this;
        }

        public Criteria andMsbGreaterThan(String value) {
            addCriterion("msb >", value, "msb");
            return (Criteria) this;
        }

        public Criteria andMsbGreaterThanOrEqualTo(String value) {
            addCriterion("msb >=", value, "msb");
            return (Criteria) this;
        }

        public Criteria andMsbLessThan(String value) {
            addCriterion("msb <", value, "msb");
            return (Criteria) this;
        }

        public Criteria andMsbLessThanOrEqualTo(String value) {
            addCriterion("msb <=", value, "msb");
            return (Criteria) this;
        }

        public Criteria andMsbLike(String value) {
            addCriterion("msb like", value, "msb");
            return (Criteria) this;
        }

        public Criteria andMsbNotLike(String value) {
            addCriterion("msb not like", value, "msb");
            return (Criteria) this;
        }

        public Criteria andMsbIn(List<String> values) {
            addCriterion("msb in", values, "msb");
            return (Criteria) this;
        }

        public Criteria andMsbNotIn(List<String> values) {
            addCriterion("msb not in", values, "msb");
            return (Criteria) this;
        }

        public Criteria andMsbBetween(String value1, String value2) {
            addCriterion("msb between", value1, value2, "msb");
            return (Criteria) this;
        }

        public Criteria andMsbNotBetween(String value1, String value2) {
            addCriterion("msb not between", value1, value2, "msb");
            return (Criteria) this;
        }
        
			
        public Criteria andWsbIsNull() {
            addCriterion("wsb is null");
            return (Criteria) this;
        }

        public Criteria andWsbIsNotNull() {
            addCriterion("wsb is not null");
            return (Criteria) this;
        }

        public Criteria andWsbEqualTo(String value) {
            addCriterion("wsb =", value, "wsb");
            return (Criteria) this;
        }

        public Criteria andWsbNotEqualTo(String value) {
            addCriterion("wsb <>", value, "wsb");
            return (Criteria) this;
        }

        public Criteria andWsbGreaterThan(String value) {
            addCriterion("wsb >", value, "wsb");
            return (Criteria) this;
        }

        public Criteria andWsbGreaterThanOrEqualTo(String value) {
            addCriterion("wsb >=", value, "wsb");
            return (Criteria) this;
        }

        public Criteria andWsbLessThan(String value) {
            addCriterion("wsb <", value, "wsb");
            return (Criteria) this;
        }

        public Criteria andWsbLessThanOrEqualTo(String value) {
            addCriterion("wsb <=", value, "wsb");
            return (Criteria) this;
        }

        public Criteria andWsbLike(String value) {
            addCriterion("wsb like", value, "wsb");
            return (Criteria) this;
        }

        public Criteria andWsbNotLike(String value) {
            addCriterion("wsb not like", value, "wsb");
            return (Criteria) this;
        }

        public Criteria andWsbIn(List<String> values) {
            addCriterion("wsb in", values, "wsb");
            return (Criteria) this;
        }

        public Criteria andWsbNotIn(List<String> values) {
            addCriterion("wsb not in", values, "wsb");
            return (Criteria) this;
        }

        public Criteria andWsbBetween(String value1, String value2) {
            addCriterion("wsb between", value1, value2, "wsb");
            return (Criteria) this;
        }

        public Criteria andWsbNotBetween(String value1, String value2) {
            addCriterion("wsb not between", value1, value2, "wsb");
            return (Criteria) this;
        }
        
			
        public Criteria andJjbIsNull() {
            addCriterion("jjb is null");
            return (Criteria) this;
        }

        public Criteria andJjbIsNotNull() {
            addCriterion("jjb is not null");
            return (Criteria) this;
        }

        public Criteria andJjbEqualTo(String value) {
            addCriterion("jjb =", value, "jjb");
            return (Criteria) this;
        }

        public Criteria andJjbNotEqualTo(String value) {
            addCriterion("jjb <>", value, "jjb");
            return (Criteria) this;
        }

        public Criteria andJjbGreaterThan(String value) {
            addCriterion("jjb >", value, "jjb");
            return (Criteria) this;
        }

        public Criteria andJjbGreaterThanOrEqualTo(String value) {
            addCriterion("jjb >=", value, "jjb");
            return (Criteria) this;
        }

        public Criteria andJjbLessThan(String value) {
            addCriterion("jjb <", value, "jjb");
            return (Criteria) this;
        }

        public Criteria andJjbLessThanOrEqualTo(String value) {
            addCriterion("jjb <=", value, "jjb");
            return (Criteria) this;
        }

        public Criteria andJjbLike(String value) {
            addCriterion("jjb like", value, "jjb");
            return (Criteria) this;
        }

        public Criteria andJjbNotLike(String value) {
            addCriterion("jjb not like", value, "jjb");
            return (Criteria) this;
        }

        public Criteria andJjbIn(List<String> values) {
            addCriterion("jjb in", values, "jjb");
            return (Criteria) this;
        }

        public Criteria andJjbNotIn(List<String> values) {
            addCriterion("jjb not in", values, "jjb");
            return (Criteria) this;
        }

        public Criteria andJjbBetween(String value1, String value2) {
            addCriterion("jjb between", value1, value2, "jjb");
            return (Criteria) this;
        }

        public Criteria andJjbNotBetween(String value1, String value2) {
            addCriterion("jjb not between", value1, value2, "jjb");
            return (Criteria) this;
        }
        
			
        public Criteria andBjmspIsNull() {
            addCriterion("bjmsp is null");
            return (Criteria) this;
        }

        public Criteria andBjmspIsNotNull() {
            addCriterion("bjmsp is not null");
            return (Criteria) this;
        }

        public Criteria andBjmspEqualTo(String value) {
            addCriterion("bjmsp =", value, "bjmsp");
            return (Criteria) this;
        }

        public Criteria andBjmspNotEqualTo(String value) {
            addCriterion("bjmsp <>", value, "bjmsp");
            return (Criteria) this;
        }

        public Criteria andBjmspGreaterThan(String value) {
            addCriterion("bjmsp >", value, "bjmsp");
            return (Criteria) this;
        }

        public Criteria andBjmspGreaterThanOrEqualTo(String value) {
            addCriterion("bjmsp >=", value, "bjmsp");
            return (Criteria) this;
        }

        public Criteria andBjmspLessThan(String value) {
            addCriterion("bjmsp <", value, "bjmsp");
            return (Criteria) this;
        }

        public Criteria andBjmspLessThanOrEqualTo(String value) {
            addCriterion("bjmsp <=", value, "bjmsp");
            return (Criteria) this;
        }

        public Criteria andBjmspLike(String value) {
            addCriterion("bjmsp like", value, "bjmsp");
            return (Criteria) this;
        }

        public Criteria andBjmspNotLike(String value) {
            addCriterion("bjmsp not like", value, "bjmsp");
            return (Criteria) this;
        }

        public Criteria andBjmspIn(List<String> values) {
            addCriterion("bjmsp in", values, "bjmsp");
            return (Criteria) this;
        }

        public Criteria andBjmspNotIn(List<String> values) {
            addCriterion("bjmsp not in", values, "bjmsp");
            return (Criteria) this;
        }

        public Criteria andBjmspBetween(String value1, String value2) {
            addCriterion("bjmsp between", value1, value2, "bjmsp");
            return (Criteria) this;
        }

        public Criteria andBjmspNotBetween(String value1, String value2) {
            addCriterion("bjmsp not between", value1, value2, "bjmsp");
            return (Criteria) this;
        }
        
	}

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}